package com.wyx.mapper;

import com.wyx.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
    @Select("select * from user where id = #{id}")
    User selectUserById(int id);
    List<User> selectUserByAll(User user);
}
